----------------------------- PART I -------------------------------------------------

All simulations were conducted using GAMS version 24.9. In order to solve the model, a GAMS licence with PATH and CONOPT4 solvers is required.

In order to reproduce figure 2, one needs to perform the following simulations:

a. BAU simulation with endogenou technological change (endotech) switched off
b. carbon tax (ctax) simulation with endotech switched offon
c. BAU using the LONG version of the endotech module
d. ctax using the LONG version of the endotech module

1. Ensure that all simulations are included in the 'sim' set: opt.inc (line 51) in the folder mngwbv4/inc should read:
SET sim
/
BaU
ctax
cbgrad
cblate
/

2. switch off endogenous technological change: opt.inc (line 18) in the folder mngwbv4/inc should read:
    ifEnTech Set to one to switch on endogenous tech change and set to two for the long version
    /0/


3. ensure the time horizon is 2040: 
	3a. BAU.gms (line 36) should read:
 loop(tt$(years(tt) le 2040),

	3b. in SIM.gms, line 46 should read:
set tshock(t) years shocks are affective /2020*2040/; 
	
	3c. in SIM.gms, line 52 should read:
loop(tt$(years(tt) le 2040),


4. run BAU.gms in the folder mngwbv4. The results of this simulation are stored in BAU.gdx in the folder mngwbv4/res.

5. set the ctax simulation: sim.gms (line 6) should read:
$setGlobal SimName  "ctax"

6. run sim.gms. The results of this simulations stored in ctax.gdx in the folder mngwbv4/res.

7. At this stage one could read the results from the gdx files. The user might check, for instance the price of solar (variable px(a-solarP)), deployment of solar (variable xp(a-solarP)), or emissions (variable emighg). In order to produce the figures, one can use the provided excel files and the maketab.gms:
	7a. leave only BAU and ctax in the sim set: opt.inc (line 51) should read:
SET sim
/
BaU
ctax
*cbgrad
*cblate
/	 
	7b. run the maketab.gms. 
	7c. open the Results_IND011223rdoffCtax.xlsx in the mngwb4/res folder, select 'data' tab at the Excel ribbon and refresh data or use the short-cut: Ctrl+Alt+F5 (you might need to change the paths of directories: you need to import data from the results.csv file which is stored in the mngwb4/res folder; refreshing might take a couple of minutes)

8. switch on the LONG version of endogenous technological change: opt.inc (line 18) should read:
    ifEnTech Set to one to switch on endogenous tech change and set to two for the long version
    /2/


9. ensure the rhoen parameter takes the right value: model.inc (line 10) should read:
rhoEn=0.022;    

10. ensure the time horizon is 2040 (see point 3 above) 

11. ensure that all simulations are included in the sim set: opt.inc (line 51) in the folder mngwbv4/inc should read:
SET sim
/
BaU
ctax
cbgrad
cblate
/

12. run BAU.gms. The results of this simulations are stored in BAU.gdx in the folder mngwbv4/res.

13. set the ctax simulation: sim.gms (line 6) should read:
$setGlobal SimName  "ctax"

14. run sim.gms. The results of this simulations are stored in ctax.gdx in the folder mngwbv4/res.

15. At this stage one could read the results from the gdx files. In order to produce the figures, one can use the provided excel files and the maketab.gms:
	15a. leave only BAU and ctax in the sim set: opt.inc (line 51) should read:
SET sim
/
BaU
ctax
*cbgrad
*cblate
/	 
	15b. run the maketab.gms
	15c. open the Results_IND020324rdonCtaxLONG.xlsx in the mngwb4/res folder, select 'data' tab at the Excel ribbon and refresh data or use the short-cut: Ctrl+Alt+F5 (as before, you might need to change the paths of directories: you need to import data from the results.csv file which is stored in the mngwb4/res folder)
	15d open the Results_IND020324rdonCtaxLONGonly.xlsx in the mngwb4/res folder, select 'data' tab at the Excel ribbon and refresh data or use the short-cut: Ctrl+Alt+F5

After these steps, Figure 2 should be ready in the file Results_IND020324rdonCtaxLONGonly in the mngwb4/res folder. Keep in mind that this file reads the results from the other files in the same folder, so one might need to correct the paths of directories in the formulas in the excel.

________________ end of part 1 _______________________



^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Thank you for your effort!

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^



